package com.wulijie.intermediary;

/**
 * @Author cui
 * @Data
 */
public class Client {
    public static void main(String[] args) {
        SpecificMediary mediary = new SpecificMediary();
        TV1 tv1 = new TV1(mediary, "tv1");
        TV2 tv2 = new TV2(mediary, "tv2");

        tv1.sendMessage("tv1", 0);
    }
}
